package com.loooooo.pm2024.modules.sys.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.loooooo.pm2024.data.BaseEntity;

import java.io.Serializable;

public class User extends BaseEntity implements Serializable {

    private String username;
    private String email;
    private String mobile;
    private String password;
    private String newPassword;

    private String weixin;
    private String qq;

    @JsonIgnore
    private String passwordPlaintext;


    public String getUsername() {
        return username;
    }

    public User setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getEmail() {
        return email;
    }

    public User setEmail(String email) {
        this.email = email;
        return this;
    }

    public String getMobile() {
        return mobile;
    }

    public User setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public User setPassword(String password) {
        this.password = password;
        return this;
    }

    public String getWeixin() {
        return weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getPasswordPlaintext() {
        return passwordPlaintext;
    }

    public void setPasswordPlaintext(String passwordPlaintext) {
        this.passwordPlaintext = passwordPlaintext;
    }
}
